#!/bin/bash

set -e

LIBMAIN_PATH=/opt/yi/toolchain-sunxi-musl/toolchain

qemu-arm-static -L $LIBMAIN_PATH -E LD_LIBRARY_PATH=./_install/lib/ ./_install/bin/mqtt-pub --help | grep 'NetConnect'

qemu-arm-static -L $LIBMAIN_PATH -E LD_LIBRARY_PATH=./_install/lib/ ./_install/bin/mqtt-sub --help | grep 'NetConnect'
